package com.yusong.open.sdk.domains;



/**
 * Created by yusong on 2018/7/29.
 * 查询二维码的响应
 */
public class QueryQrRes {
    //业务ID
    private String businessId;
    //二维码流水号（需求方生成，用于查询二维码扫码信息）
    private String businessTradeNo;
    //扫码状态
    private int status;
    //扫码用户信息
    private WeixinUser user;

    public QueryQrRes(String businessId, String businessTradeNo, int status) {
        this.businessId = businessId;
        this.businessTradeNo = businessTradeNo;
        this.status = status;
    }

    @Override
    public String toString() {
        return "QueryQrRes{" +
                "businessId='" + businessId + '\'' +
                ", businessTradeNo='" + businessTradeNo + '\'' +
                ", status=" + status +
                ", user=" + user +
                '}';
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getBusinessTradeNo() {
        return businessTradeNo;
    }

    public void setBusinessTradeNo(String businessTradeNo) {
        this.businessTradeNo = businessTradeNo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public WeixinUser getUser() {
        return user;
    }

    public void setUser(WeixinUser user) {
        this.user = user;
    }
}
